package com.gxc.time;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @author 宫新程
 * @since 2019/4/2 9:10
 */
public class TestTime {

  public static void main(String[] args) throws ParseException {

    Date date = new SimpleDateFormat("yyyy-MM-dd").parse("1900-01-01");
    System.out.println(date);

    System.out.println(System.currentTimeMillis());
  }
}
